package com.junyidao.game.mapper;

import com.junyidao.game.pojo.TGames;
import com.junyidao.game.util.MyMapper;
import com.junyidao.game.vo.GameVo;

import java.util.List;

/**
 * TGamesMapper数据库操作接口类
 **/

public interface TGamesMapper extends MyMapper<TGames> {

    List<GameVo> selectGameByGameVo(GameVo vo);

    List<GameVo> selectGameByChannelIds(GameVo vo);

    /**
     * 获取热门游戏
     *
     * @param games
     * @return
     */
    List<TGames> getPopularGame(TGames games);

    /**
     * 获取最新游戏
     *
     * @param games
     * @return
     */
    List<TGames> getNewGame(TGames games);

    /**
     * 获取开服游戏
     *
     * @param games
     * @return
     */
    List<TGames> getServiceGame(TGames games);

}